Skip to content

Fix flaky test_suspend script test#921

Merged
ychin merged 1 commit intomacvim-dev:masterfrom
ychin:fix-flaky-suspend-test
Jul 7, 2019
Merged

Fix flaky test_suspend script test#921
ychin merged 1 commit intomacvim-dev:masterfrom
ychin:fix-flaky-suspend-test

Conversation

@ychin
Copy link
Copy Markdown
Member

@ychin ychin commented Jul 7, 2019

Make sure to wait for shell prompt to come up when quitting Vim before sending the "exit" command to shell. This seems to help in certain situations where it appears to have a race condition where term_wait(buf) isn't enough to wait for Vim to have fully quitted and returning contorl back to the shell.

Make sure to wait for shell prompt to come up when quitting Vim before
sending the "exit" command to shell. This seems to help in certain
situations where it appears to have a race condition where
`term_wait(buf)` isn't enough to wait for Vim to have fully quitted and
returning contorl back to the shell.
@ychin ychin force-pushed the fix-flaky-suspend-test branch from c53900c to 7139454 Compare July 7, 2019 07:33
@ychin ychin merged commit c222e33 into macvim-dev:master Jul 7, 2019
@ychin ychin deleted the fix-flaky-suspend-test branch July 7, 2019 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant